﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text; 

namespace UFIDA.U8C.AnLianDB
{
    /// <summary>
    /// 交易流水查询Request
    /// </summary>
    public class EasyApiRequest
    {
        /// <summary>
        /// 
        /// </summary>
        public Object Data { get; set; }
    }

    public class Cash
    {
        public string money { get; set; }
        public string moneymain { get; set; }
        public string pk_cashflow { get; set; }
    }
    /// <summary>
    /// 交易流水查询输入Data
    /// </summary>
    public class queryAccDetailRequestData
    {
        /// <summary>
        /// 
        /// </summary>
        public string custId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> bankAccList { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string currentPage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string pageSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string queryType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string beginDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string endDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cdSign { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string beginAmt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string endAmt { get; set; }
    }

    /// <summary>
    /// 交易流水查询输出
    /// </summary>
    public class EasyApiResponse
    {
        /// <summary>
        /// 
        /// </summary>
        public EasyApiResponHead Head { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public queryAccDetailResponData Data { get; set; }
    }


    /// <summary>
    /// 交易流水查询输出Head
    /// </summary>
    public class EasyApiResponHead
    {
        /// <summary>
        /// 
        /// </summary>
        public string Rqs_Jrnl_No { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Rsp_Dt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Rsp_Tm { get; set; }
    }

   
    /// <summary>
    /// 交易流水查询输出Data
    /// </summary>
    public class queryAccDetailResponData
    {
        /// <summary>
        /// 
        /// </summary>
        public string totalSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string downloadNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string totalPage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string pageSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string retCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<queryaccdetailsList> list { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string currentPage { get; set; }
        /// <summary>
        /// 查询成功
        /// </summary>
        public string retMsg { get; set; }
    }


    /// <summary>
    /// 交易流水账户信息
    /// </summary>
    public class queryaccdetailsList
    {
         
            #region Model
            private string _bankacc;
            private string _accname;
            private string _oppaccname;
            private string _oppaccno;
            private decimal _inamt;
            private decimal _outamt;
            private decimal _balance;
            private string _transtime; 
            private string _exch;
            private string _jybz;
            private string _ctype;
            private string _cbz;
            private string _memo;
            private string _serialid;
            private int _glflag;
            private string _inoid;
            private DateTime _createtime;
            private int _iyear;
            private int _imonth;
            private string _pk;
            private string _errmsg;
            private string _cflag;
            /// <summary>
            /// 
            /// </summary>
            public string bankAcc
            {
                set { _bankacc = value; }
                get { return _bankacc; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string accName
            {
                set { _accname = value; }
                get { return _accname; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string oppAccName
            {
                set { _oppaccname = value; }
                get { return _oppaccname; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string oppAccNo
            {
                set { _oppaccno = value; }
                get { return _oppaccno; }
            }
            /// <summary>
            /// 
            /// </summary>
            public decimal inamt
            {
                set { _inamt = value; }
                get { return _inamt; }
            }
            /// <summary>
            /// 
            /// </summary>
            public decimal outamt
            {
                set { _outamt = value; }
                get { return _outamt; }
            }
            /// <summary>
            /// 
            /// </summary>
            public decimal balance
            {
                set { _balance = value; }
                get { return _balance; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string transtime
            {
                set { _transtime = value; }
                get { return _transtime; }
            } 
            /// <summary>
            /// 
            /// </summary>
            public string exch
            {
                set { _exch = value; }
                get { return _exch; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string jybz
            {
                set { _jybz = value; }
                get { return _jybz; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string ctype
            {
                set { _ctype = value; }
                get { return _ctype; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string cbz
            {
                set { _cbz = value; }
                get { return _cbz; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string memo
            {
                set { _memo = value; }
                get { return _memo; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string serialId
            {
                set { _serialid = value; }
                get { return _serialid; }
            }
            /// <summary>
            /// 
            /// </summary>
            public int glflag
            {
                set { _glflag = value; }
                get { return _glflag; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string inoid
            {
                set { _inoid = value; }
                get { return _inoid; }
            }
            /// <summary>
            /// 
            /// </summary>
            public DateTime createtime
            {
                set { _createtime = value; }
                get { return _createtime; }
            }
            /// <summary>
            /// 
            /// </summary>
            public int iyear
            {
                set { _iyear = value; }
                get { return _iyear; }
            }
            /// <summary>
            /// 
            /// </summary>
            public int imonth
            {
                set { _imonth = value; }
                get { return _imonth; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string pk
            {
                set { _pk = value; }
                get { return _pk; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string errmsg
            {
                set { _errmsg = value; }
                get { return _errmsg; }
            }
            /// <summary>
            /// 
            /// </summary>
            public string cflag
            {
                set { _cflag = value; }
                get { return _cflag; }
            }
            #endregion Model
         
    }





    /// <summary>
    /// 回单查询输入
    /// </summary>
    public class queryReceiptRequestData
    {
        /// <summary>
        /// 
        /// </summary>
        public string custId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string queryFlag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string serialNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> accountSet { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string beginDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string endDate { get; set; }
    }

    /// <summary>
    /// 回单查询输出
    /// </summary>
    public class queryReceiptResponse
    {
        /// <summary>
        /// 
        /// </summary>
        public EasyApiResponHead Head { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public queryReceiptResponData Data { get; set; }
    }
    /// <summary>
    /// 回单查询输出
    /// </summary>
    public class queryReceiptResponData
    {
        /// <summary>
        /// 
        /// </summary>
        public string downloadNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string custId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string retCode { get; set; }
        /// <summary>
        /// 交易查询成功
        /// </summary>
        public string retMsg { get; set; }
    }


    /// <summary>
    /// 文件下载请求
    /// </summary>
    public class DownloadResqData
    {
        /// <summary>
        /// 
        /// </summary>
        public string custId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tradeType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string downloadNo { get; set; }
    }


    /// <summary>
    /// 回单查询输出
    /// </summary>
    public class DownloadResponse
    {
        /// <summary>
        /// 
        /// </summary>
        public EasyApiResponHead Head { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DownloadRespData Data { get; set; }
    }
    /// <summary>
    /// 文件下载respone
    /// </summary>
    public class DownloadRespData
    {
        /// <summary>
        /// 
        /// </summary>
        public string downloadUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string retCode { get; set; }
        /// <summary>
        /// 查询成功
        /// </summary>
        public string retMsg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string transState { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string transMsg { get; set; }
    }


    public class FileItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string creator { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string upload_path { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string billid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string billtype { get; set; }
        /// <summary>
        /// 附件1.txt
        /// </summary>
        public string file_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string content { get; set; }
    }

    public class FileUpdLoadModel
    {
        /// <summary>
        /// 
        /// </summary>
        public List<FileItem> file { get; set; }
    }

}